package com.koala.learn.exception;

import java.util.ArrayList;

public class Start {
    byte[] byteArray = new byte[1 * 1024 * 1024];// 1MB

    public static void main(String[] args) {
        ArrayList<Start> list = new ArrayList<>();
        try {
            for (int i = 1; i <= 40; i++) {
                list.add(new Start());
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}